package com.example.dubbo.service.business;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 服务启动类
 *
 * @author NiJo_H
 * @version 1.0
 */
@EnableDubbo
//@EnableTransactionManagement
@SpringBootApplication(scanBasePackages = "com.example.dubbo.service.business")
@ComponentScan({"com.example.dubbo.service.business"})
@EnableAutoConfiguration
public class BusinessServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(BusinessServiceApplication.class, args);
    }
}
